Also see: Generic Functions
Accepted bonus/multiplier data: "attribute", "skill", "budgetmax"
Alternative: addCDBonus()
Accepted data: "attribute", "skill", "budgetmax"
Adds an additive bonus to the given data without changing the base value. Use this for temporary changes, like equipment, consumables etc.
Example: "game.addCDBonus("player", "attribute", "strength", 5)"
Alternative: getCDBonus()
Returns the current additive bonus of a data.
Example: "game.getCDBonus("player", "attribute", "strength")"
Alternative: removeCDBonus()
Removes the given value from the additive bonus. This is equivalent to calling "addCharacterDataBonus" with a negative bonus.
Example: "game.removeCDBonus("player", "attribute", "strength", 5)"
Alternative: addCDMultiplier()
Accepted data: "attribute", "skill", "budgetmax"
Adds an multiplicative bonus to the given data without changing the base value. Use this for temporary changes, like equipment, consumables etc.
Example: "game.addCDBonus("player", "attribute", "strength", 2)"
Alternative: getCDMultiplier()
Returns the current multiplicative bonus of a data.
Example: "game.getCDMultiplier("player", "attribute", "strength")"
Alternative: removeCDMultiplier()
Removes the given value from the multiplicative bonus. This is equivalent to calling "addCharacterDataMultiplier" with (1 / Value), except for 0 which has to be removed with this function.
Example: "game.removeCDMultiplier("player", "attribute", "strength", 2)"
Creates a character with the given CharacterFileData and JobFileData.
Destroys the given CharacterData.
Regenerate a new image for the given character.
Recalculates the image of the given character.
Returns the characters image path.
Returns an Type > Array of all options a feature has.
Calculates the characters attendance.
Calculates all characters attendance.
Returns true if the character is at home.
Returns true if the character is wearing the outfit type on chest and legs.